package kjx_test_security.tools;

import lombok.Data;

/**
 * TODO
 *
 * @Author 康1919
 * @Date 2024/7/20 16:37
 */
@Data
public class Result {

    private Integer code;
    private String message;

    public Result( Integer code,  String message) {

        this.code = code;

        this.message = message;
    }


    public static Result  error(String s){
        return new Result(110,s);
    }
}
